#pragma once
#include "Fysics/Renderer/Shader.h"
#include "Fysics/Dependencies.h"

namespace Fysics
{
	class OpenGLShader : public Shader
	{
	private:
		unsigned int m_RendererID;
		void CompileShader(const std::string& source);

	public:		
		OpenGLShader(const std::string& srcCode, ShaderType type);
		~OpenGLShader();

		virtual void Delete() override;
		unsigned int GetID() const { return m_RendererID; }
	};
}